﻿using System;

namespace TeachingAffairsManagementSystem
{
    public partial class VisitorMainNavbar : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string url = Request.Url.AbsoluteUri;
            if (url.Contains("Home"))
            {
                LHome.Attributes.Add("class","active");
            }else if (url.Contains("About"))
            {
                LAbout.Attributes.Add("class","active");
            }

        }
    }
}